package com.liang.exception;

/**
 * Created with Intellij IDEA
 *
 * @Auther: liangjy
 * @Date: 2022/01/06/17:20
 * @Description:
 */
public class UnableToAquireLockException extends RuntimeException{
    /**
     * 定义一个无参构造
     */
    public UnableToAquireLockException(){};

    /**
     * 打印出错误的信息
     * @param message
     */
    public UnableToAquireLockException(String message){
        super(message);
    }

    /**
     * 打印错误信息与异常类型
     * @param message
     * @param cause
     */
    public UnableToAquireLockException(String message, Throwable cause){
        super(message, cause);
    }
}
